package com.itheima.reggie.service;


import com.itheima.reggie.entity.User;

public interface UserService {
    
    /**
     * 添加用户
     * @param user
     * @return
     */
    int add(User user);
    
    
    /**
     * 根据手机号码查询用户
     * @param phone
     * @return
     */
    User findUser(String phone);
}
